package org.compiere.model;

import java.io.File;
import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.logging.Level;

import org.apache.poi.hslf.model.Line;
import org.compiere.process.DocAction;
import org.compiere.process.DocumentEngine;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;

public class MBCSACRInputFormVGoo3 extends X_BCS_ACRInputFormVGOO3 {

	private static CLogger s_log = CLogger.getCLogger(MBCSACRInputFormVGoo3.class);
	
	public MBCSACRInputFormVGoo3(Properties ctx, int MBCSACRInputFormCompany_ID,
			String trxName) {
		super(ctx, MBCSACRInputFormCompany_ID, trxName);
		// TODO Auto-generated constructor stub
	}
	
	public MBCSACRInputFormVGoo3(Properties ctx, ResultSet rs, String trxName){
		super(ctx, rs, trxName);
	}

	protected boolean afterSave(boolean newRecord, boolean success){
		

	return true;
}	

	protected boolean afterDelete(boolean success){
		
//		delete all child item
				
//				DB.executeUpdate("delete BCS_ACRInputFormAppend1 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
//				DB.executeUpdate("delete BCS_ACRInputFormAppend2 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
//				DB.executeUpdate("delete BCS_ACRInputFormAppend3_1 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
//				DB.executeUpdate("delete BCS_ACRInputFormAppend3_2 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
//				DB.executeUpdate("delete BCS_ACRInputFormAppend3_3 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
//				DB.executeUpdate("delete BCS_ACRInputFormAppend4 WHERE BCS_ACRInputForm_Company_ID ="  +  get_ID());
				
		
		return true;
		
	}

}
